package pers.wensheng.patterns.behavioral_pattern.mediator_pattern.entity.mediator;

import pers.wensheng.patterns.behavioral_pattern.mediator_pattern.entity.person.Person;

/**
 * 抽象中介者类
 */
public abstract class Mediator {
    /**
     * 沟通
     * 谁和中介沟通，沟通内容是什么
     * @param message
     */
    public abstract void constact(String message, Person person);
}
